﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="OfertaMini.ascx.cs" Inherits="Pages_WebControls_OfertaMini" %>
<%@ Register Src="~/Pages/WebControls/ProductMini.ascx" TagName="ProductMini" TagPrefix="fns" %>
<asp:Repeater ID="OfferRepeter" runat="server" OnInit="PopulateRepeter">
    <HeaderTemplate>
        <div class="title_box">
            Cea mai buna oferta</div>
    </HeaderTemplate>
    <ItemTemplate>
        <fns:ProductMini ID="OfertaProduct" runat="server" ProductID='<%#Eval("ID") %>' Name='<%#Eval("name")%>'
            ImageUrl='<%#Eval("image_url")%>' Price='<%#Eval("price")%>' OldPrice='<%#Eval("old_price")%>' />
    </ItemTemplate>
</asp:Repeater>
